package com.ms.p2p.dao;



import com.ms.p2p.entity.system.Setting;
import org.apache.ibatis.annotations.Param;

import java.util.List;



public interface SettingDao extends CrudDao<Setting> {


    String findValueByCode(@Param("code") String code);

    List<Setting> findListByType(@Param("type") int type);

    List<Setting> findAll();

    Setting findByCode(@Param("code") String code);


}
